import { defRecommendHttp } from '/@/utils/http/axios';
import { RecommendParams, RecommendResult } from '/@/api/sys/model/recommend';

enum Api {
  Recommend = '/query/recommend',
}

export function getRecommendPkg(params: RecommendParams) {
  return defRecommendHttp.post<RecommendResult>(
    {
      url: Api.Recommend,
      params,
    },
    {
      errorMessageMode: 'modal',
    },
  );
}
